package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {


    void saveFlavor(List<DishFlavor> flavors);

    /**
     * 根据菜品id清空对应的口味
     * @param ids
     */
    void deleteByDishId(Long[] ids);
}
